package com.mnc.util;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.mnc.service.inte.IArticleCommentService;
import com.mnc.service.inte.IArticleService;
import com.mnc.service.inte.IArticleTypeService;
import com.mnc.service.inte.INoticeService;
import com.mnc.service.inte.IPageNoteService;
import com.mnc.service.inte.IUnitTalkService;
import com.mnc.service.inte.IUserCollectService;
import com.mnc.service.inte.IUserPageService;
import com.mnc.service.inte.IUserService;
import com.mnc.service.inte.IUserTypeService;
import com.mnc.service.inte.IUserUnitService;

/**
 * 注入所有的service
 * @author vsuns
 *
 */
@Service
public class ServiceUtil {
		private @Resource IArticleCommentService articleCommentService;
		private @Resource IArticleService articleService;
		private @Resource IArticleTypeService articleTypeService;
		private @Resource INoticeService noticeService;
		private @Resource IPageNoteService pageNoteService;
		private @Resource IUnitTalkService unitTalkService;
		private @Resource IUserCollectService userCollectService;
		private @Resource IUserPageService userPageService;
		private @Resource IUserService userService;
		private @Resource IUserTypeService userTypeService;
		private @Resource IUserUnitService unitService;

		public IUserService getUserService() {
			return userService;
		}

		public IArticleCommentService getArticleCommentService() {
			return articleCommentService;
		}

		public void setArticleCommentService(
				IArticleCommentService articleCommentService) {
			this.articleCommentService = articleCommentService;
		}

		public IArticleService getArticleService() {
			return articleService;
		}

		public void setArticleService(IArticleService articleService) {
			this.articleService = articleService;
		}

		public IArticleTypeService getArticleTypeService() {
			return articleTypeService;
		}

		public void setArticleTypeService(IArticleTypeService articleTypeService) {
			this.articleTypeService = articleTypeService;
		}

		public INoticeService getNoticeService() {
			return noticeService;
		}

		public void setNoticeService(INoticeService noticeService) {
			this.noticeService = noticeService;
		}

		public IPageNoteService getPageNoteService() {
			return pageNoteService;
		}

		public void setPageNoteService(IPageNoteService pageNoteService) {
			this.pageNoteService = pageNoteService;
		}

		public IUnitTalkService getUnitTalkService() {
			return unitTalkService;
		}

		public void setUnitTalkService(IUnitTalkService unitTalkService) {
			this.unitTalkService = unitTalkService;
		}

		public IUserCollectService getUserCollectService() {
			return userCollectService;
		}

		public void setUserCollectService(IUserCollectService userCollectService) {
			this.userCollectService = userCollectService;
		}

		public IUserPageService getUserPageService() {
			return userPageService;
		}

		public void setUserPageService(IUserPageService userPageService) {
			this.userPageService = userPageService;
		}

		public IUserTypeService getUserTypeService() {
			return userTypeService;
		}

		public void setUserTypeService(IUserTypeService userTypeService) {
			this.userTypeService = userTypeService;
		}

		public IUserUnitService getUnitService() {
			return unitService;
		}

		public void setUnitService(IUserUnitService unitService) {
			this.unitService = unitService;
		}

		public void setUserService(IUserService userService) {
			this.userService = userService;
		}
		
}
